package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenRelatedGoodsDao;
import com.ruoyi.project.men.domain.MenRelatedGoodsDO;
import com.ruoyi.project.men.service.MenRelatedGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenRelatedGoodsServiceImpl implements MenRelatedGoodsService {
	@Autowired
	private MenRelatedGoodsDao menRelatedGoodsDao;
	
	@Override
	public MenRelatedGoodsDO get(String id){
		return menRelatedGoodsDao.get(id);
	}
	
	@Override
	public List<MenRelatedGoodsDO> list(Map<String, Object> map){
		return menRelatedGoodsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menRelatedGoodsDao.count(map);
	}
	
	@Override
	public int save(MenRelatedGoodsDO menRelatedGoods){
		return menRelatedGoodsDao.save(menRelatedGoods);
	}
	
	@Override
	public int update(MenRelatedGoodsDO menRelatedGoods){
		return menRelatedGoodsDao.update(menRelatedGoods);
	}
	
	@Override
	public int remove(String id){
		return menRelatedGoodsDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menRelatedGoodsDao.batchRemove(ids);
	}

    @Override
    public List<MenRelatedGoodsDO> likeList(Map<String, Object> map){
        return menRelatedGoodsDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menRelatedGoodsDao.likeListCount(map);
    }
	
}
